import 'package:flutter_test/flutter_test.dart';
import 'package:flutter_sound_record/flutter_sound_record.dart';

void main() {
  group('FlutterSoundRecord', () {
    test('should create instance', () {
      // 测试FlutterSoundRecord类是否可以正常实例化
      final recorder = FlutterSoundRecord();
      expect(recorder, isNotNull);
    });

    test('should be of correct type', () {
      // 测试实例类型是否正确
      final recorder = FlutterSoundRecord();
      expect(recorder, isA<FlutterSoundRecord>());
    });
  });
}